package com.zhan.ielts.dao.impl;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.zhan.frame.core.dao.impl.BaseDaoImpl;
import com.zhan.ielts.dao.TradeNotifyDao;
import com.zhan.ielts.domain.TradeNotify;
import com.zhan.ielts.domain.vo.TradeNotifyVo;

@Repository
public class TradeNotifyDaoImpl extends BaseDaoImpl<TradeNotify> implements TradeNotifyDao {

	@Override
	public List<TradeNotify> selectLatest(TradeNotifyVo entity) {
		return sqlSessionTemplate.selectList(getSqlName("selectLatestOnes"), entity);
	}

}
